package service;

import entity.Book;

import java.util.List;

public interface BookService {
    List<Book>selectAllBooks();
    Book selectBookById(int id);
    int deleteBookById(int id);
    int insertBook(Book book);
    int updateBook(Book book);
    List<Book> selectBookByBookName(String bookName);
}
